//
//  HPDiscViewController.swift
//  MyWeibo
//
//  Created by apple on 16/4/6.
//  Copyright © 2016年 Apengpeng. All rights reserved.
//

import UIKit

class HPDiscViewController: HPVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // 添加searchView
        addSearchViewToNav()
        
        upDateUI()
    }
    
    
    // 更新界面
    private func upDateUI() {
        
        visitorView?.setVisitorViewInfor(imageName: "visitordiscover_image_message", suggestText: "登录后，别人评论你的微博，发给你的消息，都会在这里收到通知")
    }
    
    // MARK:添加searchView
    private func addSearchViewToNav(){
        
        navigationItem.titleView = HPSearchView.loadSearchView()
    }

}
